package cn.itsource.blog.mapper;

import cn.itsource.blog.domain.Role;
import cn.itsource.query.BaseQuery;

import java.util.List;

public interface RoleMapper {
    List<Role> getAll();

    void save(Role role);

    void update(Role role);


    List<Role> getAllByQuery(BaseQuery userQuery);

}
